package io.hxci.modules.stu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 得失分记录
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "eval_record")
public class EvalRecord {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 学生id
     */
    @TableField(value = "stuid")
    private Long stuid;

    /**
     * 种类id
     */
    @TableField(value = "kindid")
    private Long kindid;

    /**
     * 分值
     */
    @TableField(value = "score")
    private Double score;

    @TableField(value = "aid")
    private Integer aid;

    /**
     * 1代表得分，-1代表失分
     */
    @TableField(value = "sign")
    private Integer sign;

    @TableField(value = "time")
    private String time;


    @TableField(exist = false)
    private String name;

}